import 'dart:ui';

class teammodel{
  final String title;
  final String number;
  final String url;
  final String title1;
  final String title2;
  final String title3;
  final String time1;
  final String time2;
  final String title4;
  final String number1;
  final String number2;
  final String number3;
  final Color color;

  teammodel( {this.title, this.number,this.url, this.title1, this.title2, this.title3, this.time1, this.time2, this.title4, this.number1, this.number2, this.number3,this.color, });

  factory teammodel.fromJson(Map<String,dynamic> json){
    return teammodel(
      title: json['title'],
      number: json['number'],
      url: json['url'],
      title1: json['title1'],
      title2: json['title2'],
      title3: json['title3'],
      time1: json['time1'],
      time2: json['time2'],
      title4: json['title4'],
      number1: json['number1'],
      number2:json['number2'],
      number3: json['number3'],
      color: json['color']
    );
  }
  Map<String,dynamic> toJson()=>{
    'title':title,
    'number':number,
    'url':url,
    'title1':title1,
    'title2':title2,
    'title3':title3,
    'time1':time1,
    'time2':time2,
    'title4':title4,
    'number1':number1,
    'number2':number2,
    'number3':number3,
    'color':color
  };

}